<?php // @version $Id: default.php 11917 2009-05-29 19:37:05Z ian $
defined('_JEXEC') or die('Restricted access');
jimport('mylibs.globalModel');
$globalModel = new globalModel();
?>
<div class="w266 float_left">
	<div class="bg_tt1">Nyheder</div>
    <div class="col_left_c">
    	<div class="col_left_b">
            {module latestnews}
            <div class="p10t right p20r">
            	<img src="<?php echo $this->baseurl ?>/templates/skovmarken/img/icon1.png" alt="" class="mid" />
                <a href="<?php echo $this->baseurl ?>/index.php?option=com_content&view=category&id=3&Itemid=6"><b>Se alle</b></a>
            </div>
        </div>
    </div>
</div>
<div class="w628 float_right">
	<div class="bg_tt2 m12t">
    	<div class="title1">Velkommen til SKOVMARKEN</div>
    </div>
    <p class="p10t">
        {module welcome}
    </p>
    <div class="w306 float_left m12t">
    	<div class="bg_tt2">
            <div class="title2">FT labrador</div>
        </div>
        <div class="p5t">
        	<?php 
        		$data = $globalModel->getImgFromPhocaId(21);        		  		
        	?>
        	<img src="<?php echo 'images/phocagallery/'.$data['filename']; ?>" alt="" />
        </div>
        <p class="p5t">
        	{module labrador}
        </p>
    </div>
    <div class="w306 float_right m10t">
    	<div class="bg_tt2">
            <div class="title2">FT cocker spaniel</div>
        </div>
        <div class="p5t">
        	<?php 
        		$data = $globalModel->getImgFromPhocaId(22);        		  		
        	?>
        	<img src="<?php echo 'images/phocagallery/'.$data['filename']; ?>" alt="" />
        </div>
        <p class="p5t">
        	{module cocker}
        </p>
    </div>
    <div class="clear"></div>
</div>